.toolWrap {
  width: 87.7083vw;
  margin: 0 auto;
  padding-top: 1.5625vw;
  height: 42.7083vw;

  .tabsWrap {
    // padding: 30px 120px;
  }

  .pageTop {
    width: 100%;
    display: flex;
    justify-content: space-between;
    // padding-bottom: 1.0417vw;

  }

  .content {
    // padding: 20px 120px;
  }

  .cardItem {
    width: 100%;
    position: relative;
    // min-width: 405px;
    // height: 182px;
    min-height: 10.8333vw;
    padding: 16px;
    // margin: 5px;
    box-sizing: border-box;
    background: #ffffff;
    box-shadow: 0px 0px 4px 0px rgba(7, 17, 39, 0.12);
    border-radius: 12px;

    &:hover {
      box-shadow: 0px 0.4167vw 1.25vw 0px rgba(7, 17, 39, 0.12);
    }
  }

  .header {
    display: flex;
  }

  .imgWrap {
    width: 2.9167vw;
    height: 2.9167vw;
    border-radius: 0.4167vw;
    flex-shrink: 0;
    border: 1px solid #F0F1F3;

    img {
      width: 100%;
      height: 100%;
      border-radius: 0.4167vw;
    }
  }

  .infoWrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    margin-left: 14px;
    margin-right: 4px;
  }

  .info {
    flex: 1;
    overflow: hidden;
  }

  .name {
    width: 100%;
  }

  .stateWrap {
    display: flex;
  }

  .type {
    margin-top: 4px;
    // width: 64px;
    padding: 2px 8px;
    background: #F0F5FC;
    border-radius: 4px;
    border: 1px solid #F0F1F3;
    text-align: center;
    font-size: 12px;
    color: #0E5DD8;
    // line-height: 24px;
  }

  .desc {
    margin-top: 0.5208vw;
    width: 100%;
    // height: 2.1875vw;
    font-size: 0.7292vw;
    color: #5E6472;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tagWrap {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    margin-top: 0.5208vw;

    ::-webkit-scrollbar {
      display: none;
    }

    >span {
      font-size: 0.625vw;
      line-height: 1.0417vw;
      background: #F6F7F8;
      color: #8F949E;
    }
  }

  .footer {
    margin-top: 0.5208vw;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
  }

  .statusWrap {
    font-size: 12px;
    color: #5E6472;
    // line-height: 22px;
  }


  .delete {
    flex-shrink: 0;
    margin-left: 12px;
    width: 24px;
    height: 24px;
    font-size: 16px;

    &:hover {
      border: 1px solid #0e5dd8;
      color: #0e5dd8;
      cursor: pointer;
    }
  }


  .actionsIcon {
    margin-left: 12px;
    width: 24px;
    height: 24px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F6F7F8;
    border-radius: 4px;
    border: 1px solid #F0F1F3;

    &:hover {
      border: 1px solid #0e5dd8;
      color: #0e5dd8;
      cursor: pointer;
    }
  }
}

.mcplistdata {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

// 新的工具列表样式
.toolListCard {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  :global(.ant-card-head) {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 16px;

    :global(.ant-card-head-title) {
      font-size: 16px;
      font-weight: 600;
      color: #262626;
    }
  }

  :global(.ant-card-body) {
    padding: 0;
  }
}

.toolListContainer {
  padding: 0;
}

.toolItem {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s ease;

  &:last-child {
    border-bottom: none;
  }

  &:hover {
    background-color: #fafafa;
  }

  &.selectedTool {
    background-color: #f0f8ff;
  }
}

.toolName {
  font-size: 14px;
  font-weight: 700;
  color: #262626;
  // font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  margin-bottom: 4px;
}

.toolDescription {
  font-size: 13px;
  color: #595959;
  line-height: 1.4;
}